// 要写在package上边
//+build darwin

package shell_util

import "fmt"

// 命令，打开控制台执行tail
func OpenTerminalExec(cmd string) string {
	return fmt.Sprintf(`osascript -e 'tell app "Terminal"
    do script "%v"
end tell'`, cmd)
}
